package cn.itcast.javaee.springmvc.app10;

import java.util.Date;

/**
 * 作者：13687
 * 日期：2017/3/26
 * 项目：SpringMVC64
 * 描述：用户
 */
public class User {
private String name;
private int age;

	@Override
	public String toString() {
		return "User{" +
				"name='" + name + '\'' +
				", age=" + age +
				", birth=" + birth +
				'}';
	}

	public Date getBirth() {
		return birth;
	}

	public void setBirth(Date birth) {
		this.birth = birth;
	}

	private Date birth;
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}
}
